mergBLEScanForPeripheralsWithServices
Type
command
Summary
Scans for peripherals that are advertising services
Syntax
mergBLEScanForPeripheralsWithServices [<pUUIDs>]
Description
Apps that have specified the bluetooth-central background mode are allowed to scan while in the background. That said, they must explicitly scan for one or more services by specifying them in the pUUIDs parameter. When a peripheral is discovered the mergBLE the mergBLEDidDiscoverPeripheral message is sent.
Parameters
Name | Type | Description |
---|---|---|
pUUIDs | (optional with "" default) An list of service UUIDs that the app is interested in. If empty all discovered peripherals are returned regardless of their supported services (not recommended). |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
mac
Platforms
desktop
mobile